"""存储元素"""
mall_xpath_dict = {
                    # 进货单
                    'Shopping_cart': '//*[@id="app"]/div[2]/div/div/div[3]',
                    'Shopping_cart1': '//*[@id="app"]/div[2]/div/div/div[3]/img',

                    # 批采下单 勾选商品
                    'wholesale_Place_an_order': '//*[@id="app"]/div[2]/div/div/div[3]/div[1]/div[2]/div/div/div/div[1]/div/div/label/span/input',
                    # 结算
                    'Settle_an_account': '//*/span[@class="btn"]',
                    # 提交付款
                    'Submit_payment': '//*/button[@type="button"and@class="buy ant-btn ant-btn-primary"]',
                    # 确认地址
                    'Confirm_address': '//*/button[@type="button"and@class="ant-btn ant-btn-primary"]',
                    # 断言 到收银台界面
                    'Assertion' : "//*/div[@class='logo-text']",
                    # 取消订单
                    'Cancel' : "//*/button[@class='cancel-button ant-btn']",
                    # 确认取消
                    'Confirm' : '/html/body/div[3]/div/div[2]/div/div[2]/div/div/div[2]/button[2]'

}

def get_mall_xpath(name):
    return mall_xpath_dict[name]